<div class="wide form">

<?php $form = $this->beginWidget('GxActiveForm', array(
	'action' => Yii::app()->createUrl($this->route),
	'method' => 'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model, 'ENCID'); ?>
		<?php echo $form->textField($model, 'ENCID'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'ENCNOMBRE'); ?>
		<?php echo $form->textField($model, 'ENCNOMBRE', array('maxlength' => 255)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'ENCFECHACREACION'); ?>
		<?php echo $form->textField($model, 'ENCFECHACREACION'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'ENCFECHAACTUALIZACION'); ?>
		<?php echo $form->textField($model, 'ENCFECHAACTUALIZACION'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'ENCVERSION'); ?>
		<?php echo $form->textField($model, 'ENCVERSION'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'ENCFECHAINICIAL'); ?>
		<?php $form->widget('zii.widgets.jui.CJuiDatePicker', array(
			'model' => $model,
			'attribute' => 'ENCFECHAINICIAL',
			'value' => $model->ENCFECHAINICIAL,
			'options' => array(
				'showButtonPanel' => true,
				'changeYear' => true,
				'dateFormat' => 'yy-mm-dd',
				),
			));
; ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'ENCFECHAFINAL'); ?>
		<?php $form->widget('zii.widgets.jui.CJuiDatePicker', array(
			'model' => $model,
			'attribute' => 'ENCFECHAFINAL',
			'value' => $model->ENCFECHAFINAL,
			'options' => array(
				'showButtonPanel' => true,
				'changeYear' => true,
				'dateFormat' => 'yy-mm-dd',
				),
			));
; ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'NCLE_ID'); ?>
		<?php echo $form->dropDownList($model, 'NCLE_ID', GxHtml::listDataEx(Nucleosespecificos::model()->findAllAttributes(null, true)), array('prompt' => Yii::t('app', 'All'))); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'NCLB_ID'); ?>
		<?php echo $form->dropDownList($model, 'NCLB_ID', GxHtml::listDataEx(Nucleosbasicos::model()->findAllAttributes(null, true)), array('prompt' => Yii::t('app', 'All'))); ?>
	</div>

	<div class="row buttons">
		<?php echo GxHtml::submitButton(Yii::t('app', 'Search')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->
